package lib.bone.system.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class UserBaseVO {
    public UserBaseVO(){};

    public UserBaseVO(Long id,String avatar,String userName,String nickName,Long deptId,String cardId,String postId){
        this.id = id;
        this.avatar = avatar;
        this.userName = userName;
        this.nickName = nickName;
        this.deptId = deptId;
        this.cardId = cardId;
        this.postId = postId;
    }

    @ApiModelProperty(value = "用户ID",name = "id")
    Long id;

    @ApiModelProperty("用户头像")
    private String avatar;

    @ApiModelProperty("用户账号")
    private String userName;

    @ApiModelProperty("用户昵称")
    private String nickName;

    @ApiModelProperty("部门ID")
    private Long deptId;

    @ApiModelProperty("身份ID")
    private String cardId;

    @ApiModelProperty("岗位ID")
    private String postId;

    private String label;

    private Long value;
}
